﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="list.aspx.cs" Inherits="He.Web.manage.member.list" %>
<%@ Register Src="../_uc/head_list.ascx" TagPrefix="uc" TagName="head_list" %>
<%@ Register Src="../_uc/head.ascx" TagPrefix="uc" TagName="head" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>会员列表</title>
<uc:head runat="server" ID="uchead" />
<uc:head_list runat="server" ID="uchead_list" />
</head>
<body style="padding: 10px;">
<form id="form1" runat="server">
  <div class="navigation"> <span class="add"><a href='edit.aspx'>增加会员</a></span> <b>您当前的位置：首页 &gt; 互动模块 &gt; 会员列表</b> </div>
  <div class="spClear"> </div>
  <div class="content-tab-wrap">
    <div class="content-tab">
      <div class="content-tab-ul-wrap">
        <ul>
          <li><a class="selected">会员列表</a></li>
          <li><a href="rank_list.aspx">会员等级</a></li>
        </ul>
      </div>
    </div>
  </div>
  <div class="content-body">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="right"> 关健字： </td>
        <td width="150"><asp:TextBox ID="txtKeywords" runat="server" CssClass="keyword"></asp:TextBox>
        </td>
        <td width="60" align="center"><asp:Button ID="btnSelect" runat="server" Text="查询" CssClass="submit" OnClick="btnSelect_Click" />
        </td>
      </tr>
    </table>
    <div class="spClear"> </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
      <asp:Repeater ID="rptList" runat="server">
        <HeaderTemplate>
          <tr>
            <th> 选择 </th>
            <th> 会员帐号 </th>
            <th> 昵称 </th>
            <th> Email </th>
            <th> 联系电话 </th>
            <th> 最近登录 </th>
            <th> 状态 </th>
            <th> 会员等级 </th>
            <th> 操作 </th>
          </tr>
        </HeaderTemplate>
        <ItemTemplate>
          <tr>
            <td><asp:CheckBox ID="Check" CssClass="checkall" runat="server"></asp:CheckBox>
              <asp:HiddenField ID="HiddenId" runat="server" Value='<%#Eval("id") %>' />
            </td>
            <td><%#Eval("user_name") %> </td>
            <td><%#Eval("nickname") %> </td>
            <td><%#Eval("email") %> </td>
            <td><%#Eval("tel") %> </td>
            <td><%#Eval("this_time") %> </td>
            <td><%#He.Web.UI.MemberHelper.GetUserStatus(Eval("status")) %> </td>
            <td><%#He.Web.UI.MemberHelper.GetMemberRank(Convert.ToInt32(Eval("rank_id"))) %></td>
            <td><a href='edit.aspx?id=<%#Eval("id") %>&action=<%=He.Web.UI.Enums.ActionEnum.Edit %>'> 详情</a> <a href="edit_pwd.aspx?id=<%#Eval("id") %>">修改密码</a> </td>
          </tr>
        </ItemTemplate>
      </asp:Repeater>
    </table>
  </div>
  <div class="spClear"> </div>
  <div style="line-height: 30px; height: 30px;"> <%=He.Web.UI.HtmlHelper.PagerText(pcount, pageSize, page, "?page=__id__")%>
    <div class="left"> <span class="btn_all" onclick="CheckAll(this)">全 选</span> <span class="btn_bg">
      <asp:LinkButton ID="lbtnDel" runat="server" OnClick="lbtnDel_Click" OnClientClick="return confirm( '确定要删除这些记录吗？ ');">批量删除</asp:LinkButton>
      </span></div>
  </div>
</form>
</body>
</html>
